//
//  HotTableViewCell.m
//  Koala_Fm
//
//  Created by dllo on 16/3/2.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "HotTableViewCell.h"

@implementation HotTableViewCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.lableOne = [[UILabel alloc]init];
//        self.lableOne.backgroundColor = [UIColor yellowColor];
        [self.contentView addSubview:_lableOne];
        [_lableOne release];
        //
        self.imag = [[UIImageView alloc]init];
//        self.imag.backgroundColor = [UIColor cyanColor];
        [self.contentView addSubview:_imag];
        [_imag release];
        //
        self.lableTow = [[UILabel alloc]init];
//        self.lableTow.backgroundColor = [UIColor yellowColor];
        [self.contentView addSubview:_lableTow];
        [_lableOne release];
        //
        self.lableThree = [[UILabel alloc]init];
//        self.lableThree.backgroundColor = [UIColor yellowColor];
        [self.contentView addSubview:_lableThree];
        [_lableThree release];
    }
    return self;
}

- (void)layoutSubviews{
    [super layoutSubviews];
    _imag.frame = CGRectMake(5, 5, 100, 100);
    _lableOne.frame = CGRectMake(105, 10, self.contentView.frame.size.width, 20);
    _lableTow.frame = CGRectMake(105, 40, self.contentView.frame.size.width, 20);
    _lableThree.frame = CGRectMake(105, 70, self.contentView.frame.size.width, 20);
    
}





- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
